Philip John Automated Testing of Hypermedia REST Ap - plications

نویسندگان

  • Philip John
  • Luciano García-Bañuelos
چکیده

Testing is one essential part of the software development lifecycle and Test Driven Development is one of the main practices in agile methodology. During the development of a RESTful web application, developers oftentimes focus only in testing the business logic and neglect testing the protocol implementing REST interactions. In this context, we propose a tool to automate the generation of test cases that exercise the interactions required by a RESTful application. The tool takes as input user stories written in restricted version of Gherkin, a widely use domain specific language for behaviour driven development. User stories written in this variant of Gherkin capture the essence of the interactions required by a REST application in a way that it is possible to derive test cases from them. Moreover, the tool derives fully functional mock implementations from the same input user story. Such mock implementations can be then used by programmers to develop the client side without requiring the actual implementation of the REST application. This document introduces the design principles and implementation of the tool and presents a study case showcasing its use.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Applying Adaptive Variables in Computerised Adaptive Testing

Current research in Computerised Adaptive Testing (CAT) focus on applications, in small and large scale, that address self-assessment, training, employment, teacher professional development for schools, industry, military, assessment of non-cognitive skills etc. Moreover, dynamic item generation tools and automated scoring of complex constructedresponse examinations reaches operational status. ...

متن کامل

An Application-independent Support System for Integrated Assumption-based Temporal Reasoning

Reason maintenance systems and tem poral reasoning systems are among the most prominent application independent support systems used for complex AI ap plications and there are many applications that need both support for logical and temporal reasoning Apparently it is not enough to just provide two isolated sup port modules The logical and temporal subsystems have to be coupled in the right way...

متن کامل

Retaining Hyperlinks in Printed Hypermedia Document

In this paper, we describe a method that allows a hypermedia document to retain its hyperlinks in the printed copy. The method associates the hyperlinks with cut-out tabs on the edges of the printed pages. A method for modelling the cut-out tabs and optimizing their assignment to the hyperlinks is discussed. We also describe a prototype authoring system that implements the method.  1999 Publis...

متن کامل

REST in Practice - Hypermedia and Systems Architecture

It's coming again, the new collection that this site has. To complete your curiosity, we offer the favorite rest in practice hypermedia and systems architecture book as the choice today. This is a book that will show you even new to old thing. Forget it; it will be right for you. Well, when you are really dying of rest in practice hypermedia and systems architecture, just pick it. You know, thi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016